import home from '../views/home/home.vue'

import Start from '../components/start/Start.vue'
import StartSetting from '../components/start/StartSetting.vue'
import StartSetting_1 from '../components/start/StartSetting_1.vue'
import StartSetting_2 from '../components/start/StartSetting_2.vue'

import Setting from '../components/setting/Setting.vue'
import Setting_1 from '../components/setting/Setting_1.vue'

import MoreAbout from '../components/moreAbout/MoreAbout.vue'
import MoreAbout_1 from '../components/moreAbout/MoreAbout_1.vue'
import MoreAbout_2 from '../components/moreAbout/MoreAbout_2.vue'

//控制台
import Console from '../views/console/console.vue'
import Console_group from '../components/console_group/Console_group.vue'
//成绩评定
import sortMain from '../components/console_sort/sortMain.vue'
import sort from '../components/console_sort/sort.vue'
import count from '../components/console_sort/count.vue'

// 对外暴露路由(常量路由)
export const constantRoute = [
  {
    path: '/',
    component: home,
    children: [
      {
        path: 'start',
        component: Start
      },
      {
        path: 'startSetting',
        component: StartSetting,
        children: [
          {
            path: 'startSetting_1',
            component: StartSetting_1
          },
          {
            path: 'startSetting_2',
            component: StartSetting_2
          }
        ]
      },
      {
        path: 'setting',
        component: Setting,
        children: [
          {
            path: 'setting_1',
            component: Setting_1
          }
        ]
      },
      {
        path: 'moreAbout',
        component: MoreAbout,
        children: [
          {
            path: 'moreAbout_1',
            component: MoreAbout_1
          },
          {
            path: 'moreAbout_2',
            component: MoreAbout_2
          }
        ]
      }
    ]
  },
  {
    path: '/console',
    component: Console,
    children: [
      {
        path: 'console_group',
        component: Console_group
      },
      {
        path: '/sortMain',
        component: sortMain,
        children: [
          {
            path: 'sort',
            component: sort
          },
          {
            path: 'count',
            component: count
          }
        ]
      }
    ]
  }
]
